package com.ktjy.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ktjy.pojo.SysUser;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.HashMap;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hjy
 * @since 2025-01-09
 */
public interface ISysUserService extends IService<SysUser> {
    /**
     * 登录
     * @param usrName 用户名
     * @param usrPassword 密码
     * @return
     */
    public SysUser login(String usrName,String usrPassword);

    //分页查询用户
    public IPage<SysUser> getPage(SysUser sysUser,Integer pageNo,Integer pageSize);
}
